package com.hhit.zhgd.domain.entity

import com.baomidou.mybatisplus.annotation.IdType
import com.baomidou.mybatisplus.annotation.TableField
import com.baomidou.mybatisplus.annotation.TableId
import com.baomidou.mybatisplus.annotation.TableName
import java.io.Serializable
import java.util.*

@TableName("zhgd_person_info")
data class ZhgdPersonInfo(
    @TableId(type = IdType.AUTO)
    val id: Int? = null,
    /**
     * 项目编号
     */
    val projectNumber: String? = null,
    /**
     * 工程名称
     */
    val projectName: String? = null,
    /**
     * 姓名
     */
    val name: String? = null,
    /**
     * 性别
     */
    val sex: String? = null,
    /**
     * 岗位名称
     */
    val positionName: String? = null,
    /**
     * 联系方式
     */
    val contactWay: String? = null,
    /**
     * 身份证号码
     */
    val idCardNo: String? = null,
    /**
     * 公司名称
     */
    val companyName: String? = null,
    /**
     * 双准入时间
     */
    val doubleInTime: String? = null,
    /**
     * 人员照片
     */
    val personPicture: String? = null,
    /**
     * 安全帽编号
     */
    val helmetNumber: String? = null,
    /**
     * 经度
     */
    val longitude: String? = null,
    /**
     * 纬度
     */
    val latitude: String? = null,
    /**
     * 创建时间
     */
    val createTime: Date? = null,
    /**
     * 更新时间
     */
    val updateTime: Date? = null,
    /**
     * 出入场状态1:入场:0:出场
     */
    val outInStatus: Int? = null,
    /**
     * 出入场图片
     */
    @TableField(exist = false)
    val imageFile: String? = null,
    /**
     * 百度经度
     */
    @TableField(exist = false)
    val bdLongitude: String? = null,
    /**
     * 百度纬度
     */
    @TableField(exist = false)
    val bdLatitude: String? = null,
    /**
     * 出入场时间
     */
    @TableField(exist = false)
    val outInTime: String? = null,
    /**
     * 心率
     */
    @TableField(exist = false)
    val heartRate: String? = null,
    /**
     * 入场时间
     */
    @TableField(exist = false)
    val entryTime: String? = null,
    /**
     * 出场时间
     */
    @TableField(exist = false)
    val exitTime: String? = null,
    /**
     * 总时长
     */
    @TableField(exist = false)
    val totalMinutes: Long? = null
) : Serializable {
    companion object {
        private const val serialVersionUID = -8548956584505012732L
    }
}
